@charset "utf-8";
@import "variable";

* {
  box-sizing: border-box;
}
html, body {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0;
  padding: 0;
  height: 100%;
  color: #fff;
  background-color: $main-bg;
  overflow: hidden!important;
}::-webkit-scrollbar {
  width: 0;
  height: 0;
 }

/* 主体内容 */
#container {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.3rem 0.4rem;
  background-color: $main-bg;

  .main-border {
    padding: 0.18rem;
    border: 1px solid #000;
    background-color: $main-body-bg;
  }
  .container-top {
    display: flex;
  }
  .container-bottom {
    display: flex;
    flex: 1;
  }
  .container-left {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-right: 0.3rem;
  }
  .container-right {
    display: flex;
    width: 24%;
  }
  .detail-btn {
    cursor: pointer;
  }
  /* 概览框 */
  .main-total {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.3rem;
    overflow: hidden;

    .total {
      display: flex;
      flex: 1;
      margin-left: 0.3rem;
      min-height: 2rem;
      font-size: 0.28rem;
      color: #ccc;

      .total-left {
        flex: 1;
      }
      .total-right {
        flex: 1;
      }
      .total-right.chart {
        display: flex;
        flex-direction: column;
        text-align: center;

        .total-chart {
          flex: 1;
        }
      }
      .total-title {
        margin: 0.2rem 0 0.37rem;
        font-size: 0.44rem;
        color: #fff;
        white-space: nowrap;
      }
      .total-title.active {
        color: $header-active-color;
      }
      .total-name-value {
        display: flex;
        margin-top: 0.16rem;
        line-height: 0.4rem;

        .total-name {
          p {
            text-align: justify;
            text-align-last: justify;
            white-space: nowrap;
          }
        }
        .total-value {
          flex: 1;
          p {
            white-space: nowrap;
          }
          .value {
            font-size: 0.32rem;
            font-weight: bold;
            color: #fff;
          }
          img {
            height: 0.36rem;
            margin-top: -0.1rem;
          }
        }
      }
    }
    .total.total1 {
      margin-left: 0;
    }
  }
  /* echarts图表 */
  .main-chart {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;

    .chart-left {
      position: absolute;
      top: 0.4rem;
      left: 0.4rem;
      z-index: 20;
      .chart-title {
        display: inline-block;
        padding: 0.03rem 0.08rem;
        font-size: 0.44rem;
        font-weight: bold;
        border-width: 0.04rem;
        cursor: pointer;
      }
      .year-btn {
        display: inline-block;
        vertical-align: middle;
        margin-top: -0.1rem;
        height: 0.52rem;
        font: 0.28rem/0.52rem "";
        cursor: pointer;
        padding: 0 0.1rem;
        border-radius: 0.08rem;
        background: #1d7db1;
        color: #fff;
      }
      .year-btn.active {
        background: #2089ff;
      }
      .select2-container {
        margin-top: -5px;
        .selection .select2-selection--single {
          height: 0.56rem;
          .select2-selection__rendered {
            height: 0.56rem;
            line-height: 0.56rem;
          }
        }
      }
    }
    .chart-right {
      position: absolute;
      right: 0.44rem;
      top: 0.6rem;
      z-index: 20;
      /* 象限样式 */
      .quadrantContainner {
        .quadrantName {
          font: 0.3rem/0.44rem "";
          color: #eee;
        }
        .quadrant {
          display: inline-block;
          margin: 0 0.06rem;
          width: 0.44rem;
          height: 0.44rem;
          font: 0.28rem/0.4rem "";
          text-align: center;
          border: 0.04rem solid #666;
          border-radius: 0.26rem;
          cursor: pointer;
        }
        .quadrant.active {
          border-color: #e68b36;
          color: #fff;
        }
      }
    }
    #chart {
      flex: 1;
    }
    .tap {
      display: flex;
      justify-content: space-around;
      margin-top: 0.3rem;

      a {
        height: 0.48rem;
        font-size: 0.28rem;
        line-height: 0.32rem;
        cursor: pointer;
        padding: 0.06rem 0.16rem;
        color: #fff;
        border: 1px solid #fff;
        border-radius: 0.1rem;
      }
      a:hover {
        border-color: #0988ff;
        background: #0988ff;
      }
    }
  }
  /* top5 */
  .main-top5 {
    width: 100%;
    overflow-y: auto;

    .top5 {
      padding: 0.3rem 0 0.2rem;
      border-bottom: 0.02rem dashed #fff;

      .top5-caption {
        font-size: 0.32rem;
        font-weight: bold;
        margin-bottom: 0.3rem;

        img {
          height: 0.3rem;
          margin-top: -0.02rem;
        }
        .top5-name {
          color: $header-active-color;
        }
        .top5-logo {
          font-size: 0.28rem;
        }
        .type {
          position: relative;
          display: inline-block;
          padding: 0 15px 0 5px;
          max-width: 100%;
          font-weight: normal;
          font-size: 0.28rem;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          vertical-align: bottom;

          .clear-type {
            position: absolute;
            top: 0;
            right: 0;
            cursor: pointer;
          }
        }
      }
      .top5-title {
        .top5-key, .top5-value1, .top5-value2 {
          color: #1adec8;
          line-height: 0.28rem;
        }
      }
      .top5-key, .top5-value1, .top5-value2 {
        display: inline-block;
        width: 31%;
        color: #fff;
        font-size: 0.28rem;
        line-height: 0.7rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: right;
      }
      .top5-key {
        width: 33%;
        text-align: left;
      }
      .top5-list {
        li {
          a {
            display: block;
            cursor: pointer;
          }
          a:hover, a.active {
            background-color: #33414c;
            span {
              color: #1adec8;
            }
          }
        }
      }
    }
  }
  .main-top5::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

/* 模态框 */
.iziModal {
  padding-top: 1.4rem;
  height: 100%;
  box-sizing: border-box;
  background-color: transparent;

  .iziModal-content {
    overflow: auto;
    background-color: #222431;
  }
  table {
    width: 100%;
    min-width: 100%;
    line-height: 2;
    border-collapse: collapse;

    tr:nth-of-type(odd) td, tr:nth-of-type(odd) th{
      background-color: #1d2029;
    }
    tr:nth-of-type(even) td, tr:nth-of-type(even) th {
      background-color: #222431;
    }
    th {
      color: #15b997;
      padding: 0 0.1rem;
      font-weight: bold;
      white-space: nowrap;
    }
    td {
      padding-right: 0.3rem;
      white-space: nowrap;
    }
    thead th {
      cursor: pointer;
      background: url(../../plugins/charts/images/white-point.png) repeat-x 0 100%;

      img {
        width: 0.6rem;
        height: 0.4rem;
      }
    }
    tfoot td {
      color: #15b997;
      background: url(../../plugins/charts/images/white-point.png) repeat-x 0 0;
    }
    .spanTitle {
      color: #15b997;
      text-decoration: underline;
      cursor: pointer;
    }
    .border-bottom {
      border-bottom: 1px solid #666;
    }
  }

  .iziModal-button.export_excel {
    right: 78px;
    margin: 6px;
    width: 22px;
    height: 22px;
    text-align: center;
    font-size: 16px;
    color: #222431;
    background-color: #fff;
  }
}::-webkit-scrollbar {
   width: 0.16rem;
   height: 0.16rem;
 }